The ls command tries to print the user name and group name when doing the long listing. However, the user and group are stored as the UID and GID in the file's metadata. If the UID cannot be looked up or the GID cannot be looked up, the ls -l command will just print out the UID and/or GID. That is what you are seeing. The file, "shared.md" is owned by UID 1000 and GID 1000, but there is no user on the system that has UID 1000, and no group on the system that has GID 1000. That is why ls -l prints out 1000 for the user and group.
For the file, "locknoblank.sh" the owner is greedy, but the group is GID 1000, for the same reason as above.
|